<%@ Control Language="C#" %>
<%@ Register TagPrefix="CS" Namespace="CommunityServer.Controls" Assembly="CommunityServer.Controls" %>
<%@ import Namespace="CommunityServer.Components" %>

<div class="CommonContentArea">
	<h2 class="CommonTitle"><asp:Label CssClass="forumName" id="ForumName" Runat="server" /></h2>
	<div class="CommonContent">
		<div class="CommonDescription"><asp:Label id="ForumDescription" Runat="server" /></div>

		<div class="CommonFormArea">
		<table cellpadding="0" cellspacing="0" border="0">
		<tr>
			<td class="CommonFormField" nowrap="true">
				<CS:DefaultButtonTextBox button="SearchButtonTop" id="SearchTextTop" runat="server" MaxLength="64" columns="35" />
				<span id="SearchBoxValidatorTop" style="color: red" runat="server" visible="false">*</span>
				<asp:LinkButton id="SearchButtonTop" runat="server" CssClass="CommonTextButton" /> <a href="<%=Globals.GetSiteUrls().SearchAdvanced%>"><CS:ResourceLabel runat="server" ResourceName="Search_MoreSearchOptions" /></a>
			</td>
		</tr>
		</table>
		</div>
		
		<div align=right>
			<div class="CommonPagingArea">
				<cs:CurrentPage id="TotalResults" runat="server" />
				<asp:Literal id="SearchDuration" runat="server"></asp:Literal>      
			</div>
		</div>

		<asp:DataList id="SearchDataList" runat="Server" EnableViewState="false" Width="100%" >
			<ItemTemplate>
				<div class="GallerySearchResult">
					<div class="GallerySearchResultName"><asp:HyperLink id="PictureLink" Runat="server"/></div>
					<div class="GallerySearchResultDetails">
						Posted in <asp:HyperLink id="GalleryLink" Runat="server" />
						by <asp:HyperLink id="UserLink" runat="server" />
						on <asp:Literal id="PostDate" Runat="server" />
					</div>
				</div>
			</ItemTemplate>
		</asp:DataList>
		  
		<div align="CommonPagingArea">
			<CS:Pager id="Pager" runat="server" />
		</div>

		<div class="CommonFormArea" align="center">
			<table cellpadding="0" cellspacing="0" border="0">
			<tr>
				<td class="CommonFormField" nowrap="true">
					<CS:DefaultButtonTextBox button="SearchButtonBottom" id="SearchTextBottom" runat="server" MaxLength="64" columns="35" />
					<span id="SearchBoxValidatorBottom" style="color: red" runat="server" visible="false">*</span>
					<asp:LinkButton id="SearchButtonBottom" runat="server" CssClass="CommonTextButton" />
				</td>
			</tr>
			</table>
		</div>
	</div>
</div>		
